package com.ruoyi.oauth.sso.vo;

import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.oauth.domain.OauthClient;

import java.util.Date;

/**
 * 临时验证码
 */
public class OAuthCode {
    private String code;
    private LoginUser user;
    private OauthClient client;
    private String redirectUri;
    private String scope;
    private String token;

    private Date createTime = new Date();

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public LoginUser getUser() {
        return user;
    }

    public void setUser(LoginUser user) {
        this.user = user;
    }

    public OauthClient getClient() {
        return client;
    }

    public void setClient(OauthClient client) {
        this.client = client;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
